package chapter03.Example08;
class Student{
     private String name;
     public Student(String n){
         name=n;
     }
     public void read (){
         System.out.println(name);
     }
}
public class Example08 {
    public static void main(String[] args) {
        Student stu=new Student("张三");
        stu.read();
    }
}
